@import '../../../lessConst.less';

.pageSyntheticCardPa {
  padding: 24px;
  height: 100vh;
  // background: url('@{iplandUrl}syntheticCard/gameBj.png') no-repeat;
  // background-size: 100% 100%;
  background: linear-gradient(180deg, #1a0047 0%, #1e0b41 40%, #32145d 100%);

  .loadingContent {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
  }

  .gameTimes {
    color: #fff;
    font-size: 20px;
    text-align: center;
  }

  .title {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;

    .extraSelectLabel {
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: 24px;
      display: inline-block;
      max-width: 280px;
    }

    .extraTitle {
      color: #fff;
      font-size: 24px;
      width: 120px;
    }

    .extra {
      background: url('@{iplandUrl}syntheticCard/titleBj.png') no-repeat;
      background-size: 100% 100%;
      width: 400px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: row;
    }

    .changeIp {
      margin-top: 10px;
      color: #fff;
      font-size: 20px;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      .label {
        font-size: 20px;
        color: #fff;
      }

      .changeIcon {
        width: 20px;
        height: 20px;
        margin: 0 10px;
      }
    }
  }

  .prizeLabel {
    color: #fff;
    font-size: 24px;
    margin-top: 40px;
  }

  .prizeContent {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    .prizes {
      width: 100%;
      white-space: nowrap;

      .content {
        flex-direction: row;

        .item {
          width: calc((100%) / 3);
          // max-width: calc((100%) / 3);
          text-align: center;
          position: relative;
          padding: 15px;

          .at-badge__num {
            background-color: #fff !important;
            color: #b564ff !important;
            border-radius: 50% !important;
            top: 0 !important;
            right: 28px !important;
            border: 1px solid #b564ff;
          }

          .thumInfo {
            background: url('@{iplandUrl}syntheticCard/giftLight.png') no-repeat;
            background-size: 100% 100%;
            width: 100%;

            .pImage {
              padding: 20px;
              width: 210px;
              height: 210px;
              // z-index: -1;
            }
          }

          .ipStorage {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            padding-top: 10px;
            view {
              color: #fff;
              font-size: 24px;
            }
          }

          .prizeTitle {
            color: #fff;
            font-size: 24px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block;
            width: 90%;
          }

          .prizeExtraTitle {
            position: absolute;
            top: 100px;
            color: #fff;
            font-size: 20px;
            left: 90px;
          }
        }
      }
    }
  }

  .syntheticIcon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex: 1;

    .thum {
      width: 400px;
      height: 400px;
      background: url('@{iplandUrl}syntheticCard/collect.png') no-repeat;
      background-size: 100% 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .thum_disable {
      width: 400px;
      height: 400px;
      background: url('@{iplandUrl}syntheticCard/synethicDisable.jpg') no-repeat;
      background-size: 100% 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .syntheticLabel {
      color: #fff;
      font-size: 30px;
      position: absolute;
    }
  }

  .cards {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;

    .content {
      flex-direction: row;
      align-items: center;
      justify-content: center;

      .item {
        // width: calc((100%) / 5);
        max-width: calc((100%) / 5);
        margin: 15px;
        text-align: center;

        .at-badge__num {
          background-color: #fff !important;
          color: #b564ff !important;
          border-radius: 50% !important;
          right: 2px !important;
          border: 1px solid #b564ff;
        }

        .cThumInfo {
          background: url('@{iplandUrl}syntheticCard/cardBj.png') no-repeat;
          background-size: contain !important;
          width: 100%;
          height: 100%;
          position: relative;
          display: flex;
          align-items: center;

          .cardImage {
            padding: 10px;
            width: 104px;
            height: 148px;
          }

          .cExtraLabel {
            color: #fff;
            position: absolute;
            font-size: 20px;
            bottom: 5px;
          }
        }
      }
    }
  }

  .operates {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 10px;
    padding-bottom: env(safe-area-inset-bottom);

    .onceDrawButton {
      background: url('@{iplandUrl}syntheticCard/buttonBj.png') no-repeat;
    }

    .continuousDrawButton {
      background: url('@{iplandUrl}syntheticCard/buttonBj.png') no-repeat;
    }

    .onceDrawButton,
    .continuousDrawButton {
      width: 200px;
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-size: 100% 100%;
      color: #fff;
      font-size: 24px;
    }

    .onceDrawButton,
    .continuousDrawButton::after {
      border: 0;
    }
  }
}
